package model

import "gorm.io/gorm"

type Follow struct {
	gorm.Model
	UserId int `gorm:"type:int;not null;comment:'关注的用户id'" json:"user_id"`
	ToId   int `gorm:"type:int;not null;comment:'被关注的Id'" json:"to_id"`
	Types  int `gorm:"type:int;not ull;comment:'关注样式 1.关注,2.未关注'" json:"types"`
}
